﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;

namespace GLinq
{
    public class ConsumableQueue<T>
    {
        internal Buffer<T> Buffer;
        
        public ConsumableQueue(Buffer<T> buffer)
        {
            this.Buffer = buffer;
        }
    }

    public static class ConsumptionPool
    {
        public static Buffer<T> Aggregate<T>(int maxSize, Expression<Func<int, ConsumedBuffer<T>>> consumption)
        {
            throw new NotImplementedException();
        }
    }
}
